
var RandomizedSet = function () {

};


RandomizedSet.prototype.insert = function (val) {
    if (!this[val]) {
        this[val] = val
        return true
    } else {
        this[val] = val
        return false
    }
};


RandomizedSet.prototype.remove = function (val) {
    if (!this[val]) {
        return false
    } else {
        delete this[val]
        return true
    }
};

RandomizedSet.prototype.getRandom = function () {

};

/** 
 * Your RandomizedSet object will be instantiated and called as such:
 * var obj = new RandomizedSet()
 * var param_1 = obj.insert(val)
 * var param_2 = obj.remove(val)
 * var param_3 = obj.getRandom()
 */